package com.ihrm.company.config;

import com.ihrm.common.utils.IdWorker;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @author chahua
 * @date 2022/3/26 15:16
 **/
@Configuration
public class IdWorkConfig {

    @Bean
    public IdWorker idWorker(){
        return new IdWorker();
    }
}
